home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PTMID3.ZIP / PTMID.CFG < prev    next >
Text File  |  1994-07-18  |  5KB  |  138 lines

  1. # This is the configuration file for Ptmid (ver 0.3)
  2. # Any line beginning with a crosshatch is not interpretted. Note that
  3. # all letters are case-sensative. Changing the variable-tags could cause
  4. # Ptmid to reject this configuration file.
  5. #
  6. # Here is the directory to look in for samples. The line begins "spath"
  7. # followed by a directory. If this line is missing, Ptmid will default
  8. # to the current directory.
  9. #
  10. # spath c:\music\samples\
  11. #
  12. # Below are the instrument sample mappings. Each line begins with a number
  13. # and then a mapping onto a set of sample files. The first entry is special:
  14. # it is labelled "def" and its sample mappings will be used for any
  15. # instrument which is not given a sample mapping. This entry must be
  16. # present. Other entries use the numbers 0 to 127, and represent the
  17. # corresponding MIDI instrument (eg. 1 might represent "bright acoustic
  18. # piano"). You can also use the quotes (") symbol to identify to Ptmid
  19. # that a particular sample mapping is identical to the previous one.
  20. #
  21. def boe0.smp boe3.smp
  22. 40 strings3.smp strings4.smp
  23. 41 "
  24. 42 "
  25. 43 "
  26. 44 "
  27. 48 "
  28. 49 "
  29. 50 "
  30. 51 "
  31. 56 botrumph.smp botrumpl.smp
  32. 57 "
  33. 60 "
  34. 64 boaltsxh.smp boaltsxl.smp
  35. 65 "
  36. 66 "
  37. 67 "
  38. 72 flute2.smp
  39. 73 "
  40. 75 "
  41. 76 "
  42. 77 "
  43. 78 "
  44. 79 "
  45. #
  46. # Below are the percussion sample mappings. Each line begins with a 'd'
  47. # followed by a number, then a sample file to map it onto, and optionally
  48. # followed by a note to play that sample at each time the percussion
  49. # instrument appears (notes are of the form C2, C#2, etc.). The numbers can
  50. # range from 0 to 127 and represent the MIDI note that when played gives
  51. # that particular drum (eg. d36 is the note C on octave 3 and might
  52. # represent "bass drum"). If a particular percussion instrument is not
  53. # given, then it will be ignored.
  54. #
  55. d35 bdrum28.smp
  56. d36 bdrum28.smp
  57. #
  58. # Below are given the information on the samples in the above sections.
  59. # If a sample is given as an instrument or percussion mapping, it must be
  60. # given an entry defining its properties.
  61. # Each entry begins with the word "sample", then the filename for the sample
  62. # that was used above, followed by its pitch (eg. C2, F#3) when played
  63. # at 8287 Hz (followed by loop-start offset, and length of loop in words,
  64. # but these are optional).
  65. # Middle C is C2, the note a semitone up is C#2, the note a semitone
  66. # down is B#1, etc. This system is used by most Protracker-type players
  67. # (yes.. there IS a reason).
  68. #
  69. sample boe0.smp C0 8464 2485
  70. sample boe3.smp C3 4565 758
  71. sample bdrum28.smp C2
  72. sample flute2.smp C3 2999 7500
  73. sample strings3.smp C3 1185 3065
  74. sample strings4.smp C1 1220 1705
  75. sample botrumph.smp C3 1717 533
  76. sample botrumpl.smp C1 2022 478
  77. sample boaltsxh.smp C3 3028 1472
  78. sample boaltsxl.smp C1 2342 2008
  79. #
  80. #
  81. # Now come the various options that can be enabled for Ptmid..
  82. #
  83. # Usually the drum channel is 10, but if you want to set it to something
  84. # different, use the following option (it will over-ride the similar
  85. # command-line parameter).
  86. #
  87. # drumch 16
  88. #
  89. # When interpretting a MIDI-file, notes are quantized so they can easily
  90. # be mapped onto patterns in the MOD-file. Valid quantize fractions are:
  91. #   4, 4t, 8, 8t, 16, 16t, 32, 32t, etc.
  92. # where "4" means quantize to quarter-notes (crotchets), "8" means
  93. # quantize to eighth-notes (quavers), etc. If there is a "t"-suffix, then
  94. # it means quantize to the appropriate triplet note.
  95. # This option will be overridden by the -f parameter at the command-line.
  96. #
  97. # fract 16
  98. #
  99. # To create Protracker files (extension .mod) you can use format 1, and
  100. # to create Multitracker files (extension .mtm) you can use format 2.
  101. # The default is format 1 as it is more widely used (although more
  102. # limited). To choose the format, specify it after the "modfmt" tag.
  103. #
  104. modfmt 1
  105. #
  106. # To select the number of channels in the resulting mod, put the number
  107. # after the "maxchan" tag. The default is 4. Note that just about every
  108. # tracker will freak if it finds Protracker mods with channels other
  109. # than 4, 6, or 8. The more channels the better (but more space used
  110. # and worse quality sound with 8-bit digital mixing).
  111. #
  112. maxchan 4
  113. #
  114. # Some MOD-files use an extended range of notes, but these cannot be
  115. # played using all trackers. If you want to have an extra two octaves
  116. # for notes, then use the "extend" option, but remember that it might
  117. # cause incompatibilities.
  118. #
  119. # extend
  120. #
  121. # Even so, sometimes a note will occur outside of the range you allow
  122. # (extended or not). Ptmid has to know what to do in this case, and
  123. # there are 3 modes:
  124. #   0 (default) - play pitch of closest note that's in range
  125. #   1           - drop note altogether
  126. #   2           - transpose pitch by octaves until it is in range
  127. #                 (this one sounds the best)
  128. # By using the "rgmode", you can select which mode to use.
  129. #
  130. rgmode 2
  131. #
  132. # This last option is a bit strange. If the word "nocopy" is on a line
  133. # then Ptmid will refuse to create MOD versions of MIDI files with
  134. # copyright notices in them.
  135. #
  136. # nocopy
  137. #
  138.